package com.zhny.iot.syb.weather.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;
import lombok.Data;

@Data
public class WeatherStoreEntry extends StoreEntity {
    @PropertyValue(alias = "空气温度",description = "空气温度",unit = "°C",icon= IconConstract.Temperature,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String airTemperature;
    @PropertyValue(alias = "空气湿度",description = "空气湿度",unit = "RH",icon=IconConstract.Humidity,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String humidity;
    @PropertyValue(alias = "光照强度",description = "光照强度",unit = "kLux",icon=IconConstract.Illumination,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String illumination;
    @PropertyValue(alias = "大气压强",description = "大气压强",unit = "kPa",icon=IconConstract.Pressure,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String airPressure;
    @PropertyValue(alias = "风速",description = "风速",unit = "m/s",icon=IconConstract.Speed,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String speed;
    @PropertyValue(alias = "风向",description = "风向",unit = "°",icon=IconConstract.Direction,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String direction;
    @PropertyValue(alias = "小时降雨量",description = "小时降雨量",unit = "mm/h",icon=IconConstract.Rain,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String rain;
    @PropertyValue(alias = "总辐射量",description = "总辐射量",unit = "W/㎡",icon=IconConstract.Radiat,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String radiate;
    @PropertyValue(alias = "日照时长累积",description = "日照时长累积",unit = "h",icon=IconConstract.Other,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String sunDuran;
    @PropertyValue(alias = "露点温度",description = "露点温度",unit = "℃",icon=IconConstract.Temperature,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String dewPointTemperature;
    @PropertyValue(alias = "ET0参考蒸散量",description = "ET0参考蒸散量",unit = "mm/h",icon=IconConstract.Other,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private String et0;
}
